Skip to content

Conversation

@rpetrusha
Copy link

Minor code revisions for determining installed Framework versions

Contributes to dotnet/docs#3991

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are a great improvement @rpetrusha You can :shipit: when ready.

One suggestion for this or a future PR: I noticed, unrelated to this PR, this code often has if (str != "") as a condition. Would it be better to use string.IsNullOrWhiteSpace or string.IsNullOrEmpty as the test?

@rpetrusha
Copy link
Author

Yes, it would be better, @BillWagner. I've made the changes in this PR. Thanks for going over the code so carefully.

@rpetrusha rpetrusha merged commit 8de223d into dotnet:master Jan 14, 2019
@rpetrusha rpetrusha deleted the framework-versions branch January 18, 2019 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants